package com.rw.pojo;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author rabit
 */
public class OtherTeacher {
    private Integer tid;
    //所有学生的名字
    private List<String> list;
    //所有学生的年龄
    private int[] ages;
    //去重以后的学生姓名
    private Set<String> names;
    //
    private Map<String,String> map;

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public int[] getAges() {
        return ages;
    }

    public void setAges(int[] ages) {
        this.ages = ages;
    }

    public Set<String> getNames() {
        return names;
    }

    public void setNames(Set<String> names) {
        this.names = names;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    @Override
    public String toString() {
        return "OtherTeacher{" +
                "tid=" + tid +
                "\n, list=" + list +
                "\n, ages=" + Arrays.toString(ages) +
                "\n, names=" + names +
                "\n, map=" + map +
                '}';
    }
}
